import api from '@/api/console/consoleIndex'
import { BasicConsoleApiModel } from '@/type/console/basicConsole';

export const getBasicConsole = ():RES<BasicConsoleApiModel> => api.get('/basic/getConsole', {
  withCredentials: true
}) ;

export const updateBasicConsole = (params:BasicConsoleApiModel) : RES<{res:boolean}> => api.post('/basic/updateConsole',params,{
  withCredentials: true,
})